package com.dao.rxjava01.uis.activities;

import android.content.Context;
import android.databinding.DataBindingUtil;
import android.view.View;

import com.dao.green.cn.applibary.uis.BaseActivity;
import com.dao.rxjava01.R;
import com.dao.rxjava01.databinding.AcDemo04Binding;

/**
 * Created by Ant on 2017/7/25  9:48
 * <p>
 * <p>
 *
 * @version 1.0.0
 * @auther Ant
 */

public class Demo04 extends BaseActivity {

    private AcDemo04Binding binding;
    private Demo04Presenter presenter;

    @Override
    public void bindLayout() {
        binding = DataBindingUtil.setContentView(this, R.layout.ac_demo04);
        presenter = new Demo04Presenter(this);
        binding.setPresenter(presenter);
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }

    public class Demo04Presenter implements View.OnClickListener {

        private Context context;

        public Demo04Presenter(Context context) {
            this.context = context;
        }

        @Override
        public void onClick(View v) {
            switch (v.getId()) {
                case R.id.demo04_obt:

                    break;
            }
        }
    }


}
